package com.design.alex.mediator;

import java.util.Date;

/**
 * @ClassName : ChatRoom
 * @Description : todo
 * @Author : Alex
 * @Date: 2020-02-19 15:22
 */
public class ChatRoom {
    public static void showMessage(User user, String message) {
        System.out.println(new Date().toString() + " [ " + user.getName() + " ] : " + message);
    }
}
